/*@ File Name : keyboard.h
  @ Date : 18/11/2011
  @ Author : Guillaume Collombet, Ulysse Mensa, Sylvain Chambe

Fireworks simulation projet
Copyright (C) 2011 Guillaume Collombet, Ulysse Mensa, Sylvain Chambe

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

You can contact us by sending mail at fireworks-simulation-project@googlecode.com*/

#if !defined(_KEYBOARD_H)
#define _KEYBOARD_H
	
#include <SDL/SDL.h>

#include "display.h"
#include "core.h"

#ifdef _WIN32
	static int leftKey = SDLK_a;
	static int rightKey = SDLK_d;
	static int fowardKey = SDLK_w;
	static int backKey = SDLK_s;
#endif
#ifdef __unix__
	static int leftKey = SDLK_q;
	static int rightKey = SDLK_d;
	static int fowardKey = SDLK_z;
	static int backKey = SDLK_s;
#endif

/**Recoit et traite les arguments clavier*/
void Keyboard_ReceiveEvent(const SDL_Event* event, CAMERA_MOVEMENT* movement);

#endif  /*_KEYBOARD_H*/
